<template>
  <el-option v-bind="{ ...$props }">
    <template v-for="(_slot, slotName) in $slots" #[slotName]="slotProps">
      <slot :name="slotName" v-bind="slotProps"></slot>
    </template>
  </el-option>
</template>
<script setup lang="ts">
type Props = {
  value: string | number | boolean | object;
  label?: string | number;
  disabled?: boolean;
};

defineProps<Props>();
</script>
<style lang="scss">
// 这里统一按照UI修改基础组件的样式
</style>
